Mollie\WooCommerce\Buttons\ApplePayButton\ApplePayDataObjectHttp A

Total Complexity 51
Dependencies 2
Dependents 1
Total lines 499
Lines of code 308
Logical lines of code 104
Comment lines 113
Methods 26
Properties 11

Methods 26

Method Rating Maintainability Complexity Lines of code
orderData()
S
47 5 41
hasRequiredFieldsValuesOrError()
S
56 5 19
addressHasRequiredFieldsValues()
S
54 4 23
updateRequiredData()
S
57 4 19
validationData()
S
56 3 21
updateMethodData()
S
55 3 21
updateContactData()
S
56 3 20
completeAddress()
S
50 2 31
simplifiedAddress()
S
56 2 21
assignDataObjectValues()
S
67 3 8
updateShippingMethod()
S
63 2 13
getFilteredRequestData()
S
53 1 26
errors()
S
82 1 3
resetErrors()
S
81 1 3
updateSimplifiedContact()
S
71 1 6
hasErrors()
S
80 1 3
billingAddress()
S
82 1 3
shippingAddress()
S
82 1 3
shippingMethod()
S
80 1 3
needShipping()
S
82 1 3
productId()
S
82 1 3
productQuantity()
S
82 1 3
nonce()
S
82 1 3
validationUrl()
S
82 1 3
simplifiedContact()
S
82 1 3
__construct()
S
81 1 3